package defor.dev.oneactivitystate;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class MainActivity extends Activity {
	
	final String TAG = "States";
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		Log.d(TAG, "MainActivity: onCreate()");
	}
	
	@Override
	  protected void onStart() {
	    super.onStart();
	    Log.d(TAG, "MainActivity: onStart()");
	  }

	  @Override
	  protected void onResume() {
	    super.onResume();
	    Log.d(TAG, "MainActivity: onResume()");
	  }

	  @Override
	  protected void onPause() {
	    super.onPause();
	    Log.d(TAG, "MainActivity: onPause()");
	  }

	  @Override
	  protected void onStop() {
	    super.onStop();
	    Log.d(TAG, "MainActivity: onStop()");
	  }
	    
	  @Override
	  protected void onDestroy() {
	    super.onDestroy();
	    Log.d(TAG, "MainActivity: onDestroy()");
	  }

}
